        <?php if(!$currentNews->attachments->isEmpty()) { ?>
        <div id="news-attachment" class="tz369">
            <h2>附件</h2>
            <ul>
                <?php foreach($currentNews->attachments as $key => $attachment) { ?>
                <li>
                    <a href="<?=url('utility/download', array('attachment_id'=>$attachment->attachment_id, 'mode'=>'news', 'filename'=>$attachment->filename));?>"><?=$key+1;?>. <?=$attachment->filename;?></a>
                </li>
                <?php } ?>
            </ul>
        </div>
        <?php } ?>